﻿/****************
* Creat Date: 2020/08/20 11:00:07
* Creator: Quick.CodeGenerator
*****************/
using System;
using SqlSugar;
namespace BookStores.Entity
{
    /// <summary>
    /// 数据表实体类：Books
    /// </summary>
    [Serializable]
    public partial class Books : Shared.Contracts.EntityBase
    {
        private string _ID;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string ID 
        {
             get { return _ID; }
             set
             {
                AddPKChange("ID", _ID, value);
                _ID = value;
             }
        }
        private string _Book_Name;
        /// <summary>
        /// 书名
        /// </summary>
        public string Book_Name 
        {
             get { return _Book_Name; }
             set
             {
                AddPropertyChange("Book_Name");
                _Book_Name = value;
             }
        }
        private string _Book_Tag;
        /// <summary>
        /// 书籍标签/分类
        /// </summary>
        public string Book_Tag 
        {
             get { return _Book_Tag; }
             set
             {
                AddPropertyChange("Book_Tag");
                _Book_Tag = value;
             }
        }
        private string _Book_Language;
        /// <summary>
        /// 语种
        /// </summary>
        public string Book_Language 
        {
             get { return _Book_Language; }
             set
             {
                AddPropertyChange("Book_Language");
                _Book_Language = value;
             }
        }
        private string _Book_Publish_Status;
        /// <summary>
        /// 图书发布状态: 编辑/预定/下架/上架
        /// </summary>
        public string Book_Publish_Status 
        {
             get { return _Book_Publish_Status; }
             set
             {
                AddPropertyChange("Book_Publish_Status");
                _Book_Publish_Status = value;
             }
        }
        private string _Book_Recommend_Status;
        /// <summary>
        /// 图书推荐状态:新品/正常/
        /// </summary>
        public string Book_Recommend_Status 
        {
             get { return _Book_Recommend_Status; }
             set
             {
                AddPropertyChange("Book_Recommend_Status");
                _Book_Recommend_Status = value;
             }
        }
        private string _Book_SerialNo;
        /// <summary>
        /// 图书自定义编码
        /// </summary>
        public string Book_SerialNo 
        {
             get { return _Book_SerialNo; }
             set
             {
                AddPropertyChange("Book_SerialNo");
                _Book_SerialNo = value;
             }
        }
        private string _Book_Barcode;
        /// <summary>
        /// 图书条码
        /// </summary>
        public string Book_Barcode 
        {
             get { return _Book_Barcode; }
             set
             {
                AddPropertyChange("Book_Barcode");
                _Book_Barcode = value;
             }
        }
        private string _Book_Picture;
        /// <summary>
        /// 图片
        /// </summary>
        public string Book_Picture 
        {
             get { return _Book_Picture; }
             set
             {
                AddPropertyChange("Book_Picture");
                _Book_Picture = value;
             }
        }
        private string _Book_Brief;
        /// <summary>
        /// 简介
        /// </summary>
        public string Book_Brief 
        {
             get { return _Book_Brief; }
             set
             {
                AddPropertyChange("Book_Brief");
                _Book_Brief = value;
             }
        }
        private string _Book_Content;
        /// <summary>
        /// 图书介绍内容
        /// </summary>
        public string Book_Content 
        {
             get { return _Book_Content; }
             set
             {
                AddPropertyChange("Book_Content");
                _Book_Content = value;
             }
        }
        private int? _Book_Reading;
        /// <summary>
        /// 阅读数
        /// </summary>
        public int? Book_Reading 
        {
             get { return _Book_Reading; }
             set
             {
                AddPropertyChange("Book_Reading");
                _Book_Reading = value;
             }
        }
        private int? _Book_Favorite;
        /// <summary>
        /// 收藏量
        /// </summary>
        public int? Book_Favorite 
        {
             get { return _Book_Favorite; }
             set
             {
                AddPropertyChange("Book_Favorite");
                _Book_Favorite = value;
             }
        }
        private string _Book_Author;
        /// <summary>
        /// 作者ID
        /// </summary>
        public string Book_Author 
        {
             get { return _Book_Author; }
             set
             {
                AddPropertyChange("Book_Author");
                _Book_Author = value;
             }
        }
        private string _Book_Publishing;
        /// <summary>
        /// 出版社
        /// </summary>
        public string Book_Publishing 
        {
             get { return _Book_Publishing; }
             set
             {
                AddPropertyChange("Book_Publishing");
                _Book_Publishing = value;
             }
        }
        private DateTime? _Book_Publishing_Time;
        /// <summary>
        /// 出版时间
        /// </summary>
        public DateTime? Book_Publishing_Time 
        {
             get { return _Book_Publishing_Time; }
             set
             {
                AddPropertyChange("Book_Publishing_Time");
                _Book_Publishing_Time = value;
             }
        }
        private string _Book_Series;
        /// <summary>
        /// 图书系列Tag
        /// </summary>
        public string Book_Series 
        {
             get { return _Book_Series; }
             set
             {
                AddPropertyChange("Book_Series");
                _Book_Series = value;
             }
        }
        private decimal? _Book_Grade;
        /// <summary>
        /// 书籍评分
        /// </summary>
        public decimal? Book_Grade 
        {
             get { return _Book_Grade; }
             set
             {
                AddPropertyChange("Book_Grade");
                _Book_Grade = value;
             }
        }
        private int? _Book_Comments;
        /// <summary>
        /// 书籍评分人数
        /// </summary>
        public int? Book_Comments 
        {
             get { return _Book_Comments; }
             set
             {
                AddPropertyChange("Book_Comments");
                _Book_Comments = value;
             }
        }
        private decimal? _Book_Purchasing_Price;
        /// <summary>
        /// 进货价格
        /// </summary>
        public decimal? Book_Purchasing_Price 
        {
             get { return _Book_Purchasing_Price; }
             set
             {
                AddPropertyChange("Book_Purchasing_Price");
                _Book_Purchasing_Price = value;
             }
        }
        private decimal? _Book_Price;
        /// <summary>
        /// 图书售价
        /// </summary>
        public decimal? Book_Price 
        {
             get { return _Book_Price; }
             set
             {
                AddPropertyChange("Book_Price");
                _Book_Price = value;
             }
        }
        private DateTime? _CreatedOn;
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreatedOn 
        {
             get { return _CreatedOn; }
             set
             {
                AddPropertyChange("CreatedOn");
                _CreatedOn = value;
             }
        }
        private string _CreatedBy;
        /// <summary>
        /// 
        /// </summary>
        public string CreatedBy 
        {
             get { return _CreatedBy; }
             set
             {
                AddPropertyChange("CreatedBy");
                _CreatedBy = value;
             }
        }
        private DateTime? _ModifyOn;
        /// <summary>
        /// 
        /// </summary>
        public DateTime? ModifyOn 
        {
             get { return _ModifyOn; }
             set
             {
                AddPropertyChange("ModifyOn");
                _ModifyOn = value;
             }
        }
        private string _ModifyBy;
        /// <summary>
        /// 
        /// </summary>
        public string ModifyBy 
        {
             get { return _ModifyBy; }
             set
             {
                AddPropertyChange("ModifyBy");
                _ModifyBy = value;
             }
        }
        private string _IsActive;
        /// <summary>
        /// 
        /// </summary>
        public string IsActive 
        {
             get { return _IsActive; }
             set
             {
                AddPropertyChange("IsActive");
                _IsActive = value;
             }
        }
    }
}
